/*点击高亮我们需要清除清除  设置为transparent 完成透明*/

* {
    -webkit-tap-highlight-color: transparent;
}


/*在移动端浏览器默认的外观在iOS上加上这个属性才能给按钮和输入框自定义样式*/

input {
    -webkit-appearance: none;
}


/*禁用长按页面时的弹出菜单*/

img,
a {
    -webkit-touch-callout: none;
}

body {
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
    font-size: 14px;
    font-family: -apple-system, Helvetica, sans-serif;
    color: #666;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    vertical-align: middle;
}

.app_ad {
    height: 45px;
}

.app_ad ul,
.app_ad li {
    height: 100%;
    line-height: 45px;
    text-align: center;
    color: white;
}

.app_ad li {
    background-color: #333;
    float: left;
}

.app_ad li:nth-child(2-n) {
    text-align: center;
    line-height: 45px;
}

.app_ad li:first-child {
    width: 8%;
}

.app_ad li:first-child img {
    width: 10px;
}

.app_ad li:nth-child(2) {
    width: 10%;
}

.app_ad li:nth-child(2) img {
    width: 30px;
}

.app_ad li:nth-child(3) {
    width: 57%;
}

.app_ad li:nth-child(4) {
    width: 25%;
    background-color: #e74213;
}

.search_wrap {
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    height: 44px;
    position: fixed;
    overflow: hidden;
}

.search_btn,
.search_login {
    position: absolute;
    width: 40px;
    height: 44px;
}

.search_btn {
    left: 0;
}

.search_btn::before {
    content: "";
    display: block;
    width: 20px;
    height: 18px;
    background: url(../images/s-btn.png);
    background-size: contain;
    margin: 14px 0 0 15px;
}

.search_login {
    right: 5px;
    color: white;
    text-align: center;
    line-height: 44px;
}

.search {
    height: 30px;
    margin: 0 50px;
    background-color: #fff;
    border-radius: 15px;
    margin-top: 7px;
}

.search {
    padding: 0 14px;
    line-height: 30px;
}

.search>div {
    display: inline-block;
    vertical-align: middle;
}

.search .jd_icon {
    width: 20px;
    height: 15px;
    background: url(../images/jd.png);
    background-size: contain;
}

.search .divider {
    margin: 0 5px;
    color: #666;
}

.search .sou {
    width: 18px;
    height: 15px;
    background-color: pink;
    background: url(../images/jd-sprites.png) -81px 0;
    background-size: 200px auto;
}

.slider img {
    width: 100%;
}

.brand {
    display: flex;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    margin-top: -10px;
}

.brand img {
    width: 100%;
}

.nav,
.news {
    margin-top: 10px;
    overflow: auto;
}

.nav li {
    text-align: center;
    width: 20%;
    float: left;
}

.nav img {
    width: 40px;
}

.news li {
    float: left;
}

.news li:first-child {
    width: 50%;
}

.news li:nth-child(n+2) {
    width: 25%;
}

.news img {
    width: 100%;
}